package com.lbc.bean.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author xyl
 * @date 2021-03-24 15:28
 */
@Data
public class    Page {
    @NotNull(message = "页码不能为空")
    @ApiModelProperty("页码")
    private Integer pageNum;
    @NotNull(message = "数量不能为空")
    @ApiModelProperty("数量")
    private Integer pageSize;

    @ApiModelProperty
    private String searchKey;
}
